home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Ham⁄GPS / SoftKiss.src.1.8 Folder / SoftKiss.src.1.8 / (unloved) / sfk_prep.h < prev    next >
Text File  |  1992-02-20  |  855b  |  35 lines

  1. /*
  2.  * interface file to prep file reader writer
  3.  * by Aaron Wohl (aw0g+@andrew.cmu.edu) jul 1990
  4.  * Carnegie-Mellon University
  5.  * Special Projects
  6.  * Pittsburgh, PA 15213-3890
  7.  * (412)-268-5032
  8.  */
  9.  
  10. #define PREP_NAME "\pSoftKiss Prep"
  11. #define PREP_RES_NUM (1234)
  12.  
  13. void sfk_init_state(sfk_state_pt s);
  14. void sfk_invent_state(sfk_state_pt s);
  15.  
  16. struct sound_res_state_R {
  17.     short prev_res;
  18.     short sound_res;
  19. };
  20. typedef struct sound_res_state_R sound_res_state,*sound_res_state_pt;
  21.  
  22. sound_res_state sfk_use_sound_res(void);
  23. void sfk_close_sound_res(sound_res_state sstate);
  24.  
  25. int sfk_read_prep(sfk_state_pt s);
  26. int sfk_write_prep(sfk_state_pt s);
  27. int sfk_dont_like_prep(sfk_state_pt s);
  28.  
  29. /*
  30.  * note set_drvr_state returns the new updated state
  31.  */
  32. int sfk_get_drvr_state(int refnum,sfk_state_pt s);
  33. int sfk_set_drvr_state(int refnum,sfk_state_pt s,int iokind);
  34.  
  35.